package org.zoomdev.zoom.dao.adapters.result;


import org.zoomdev.zoom.dao.adapters.ResultSetAdapter;

import java.sql.ResultSet;
import java.sql.SQLException;

public class StringResultSetAdapter implements ResultSetAdapter {

    public static ResultSetAdapter ADAPTER = new StringResultSetAdapter();


    @Override
    public Object getObject(ResultSet rs, int columnIndex) throws SQLException {
        return rs.getString(columnIndex);
    }
}
